From db2fae01e78586cf703e77c753682101d48fbf84 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 8 Oct 2008 13:11:06 +0100 Subject: [PATCH] x86: Define __per_cpu_shift label to help kdump/crashdump. Signed-off-by: Keir Fraser --- xen/arch/x86/x86_32/xen.lds.S | 1 + xen/arch/x86/x86_64/xen.lds.S | 1 + 2 files changed, 2 insertions(+) diff --git a/xen/arch/x86/x86_32/xen.lds.S b/xen/arch/x86/x86_32/xen.lds.S index 7641867f68..2c3d21fced 100644 --- a/xen/arch/x86/x86_32/xen.lds.S +++ b/xen/arch/x86/x86_32/xen.lds.S @@ -69,6 +69,7 @@ SECTIONS . = ALIGN(PAGE_SIZE); __init_end = .; + __per_cpu_shift = PERCPU_SHIFT; /* kdump assist */ __per_cpu_start = .; .data.percpu : { *(.data.percpu) } :text __per_cpu_data_end = .; diff --git a/xen/arch/x86/x86_64/xen.lds.S b/xen/arch/x86/x86_64/xen.lds.S index 8dd5a41cb7..55559f4678 100644 --- a/xen/arch/x86/x86_64/xen.lds.S +++ b/xen/arch/x86/x86_64/xen.lds.S @@ -67,6 +67,7 @@ SECTIONS . = ALIGN(PAGE_SIZE); __init_end = .; + __per_cpu_shift = PERCPU_SHIFT; /* kdump assist */ __per_cpu_start = .; .data.percpu : { *(.data.percpu) } :text __per_cpu_data_end = .; -- 2.30.2